import layout from '@/layout'
export default {
    path: '/department',
    name:'department',
    component: layout,//一级路由
    children: [{
        path: '',//当二级路由地址为空时访问 /department 时会显示一级路由和二级路由
        component: () => import('@/views/department'),//路由懒加载方法
        name: 'department',
        meta: {//路由元素 存储数据
            icon: 'tree',//图标
            title: '组织'//标题
        }
    }]
}